This format is used when a child process has been suspended
because of a signal. The second element of eeeerrrrrrrroooorrrrCCCCooooddddeeee will be
the process's identifier, in decimal. The third element will
be the symbolic name of the signal that caused the process to
suspend; this will be one of the names from the include file
signal.h, such as SSSSIIIIGGGGTTTTTTTTIIIINNNN. The fourth element will be a short
human-readable message describing the signal, such as
``background tty read'' for SSSSIIIIGGGGTTTTTTTTIIIINNNN.
NNNNOOOONNNNEEEE
This format is used for errors where no additional information
is available for an error besides the message returned with the
error. In these cases eeeerrrrrrrroooorrrrCCCCooooddddeeee will consist of a list
containing a single element whose contents are NNNNOOOONNNNEEEE.
PPPPOOOOSSSSIIIIXXXX _e_r_r_N_a_m_e _m_s_g
If the first element of eeeerrrrrrrroooorrrrCCCCooooddddeeee is PPPPOOOOSSSSIIIIXXXX, then the error |
occurred during a POSIX kernel call. The second element of the
list will contain the symbolic name of the error that occurred,
such as EEEENNNNOOOOEEEENNNNTTTT; this will be one of the values defined in the
include file errno.h. The third element of the list will be a
human-readable message corresponding to _e_r_r_N_a_m_e, such as ``no
such file or directory'' for the EEEENNNNOOOOEEEENNNNTTTT case.
To set eeeerrrrrrrroooorrrrCCCCooooddddeeee, applications should use library procedures such as
TTTTccccllll____SSSSeeeettttEEEErrrrrrrroooorrrrCCCCooooddddeeee and TTTTccccllll____PPPPoooossssiiiixxxxEEEErrrrrrrroooorrrr, or they may invoke the eeeerrrrrrrroooorrrr |
command. If one of these methods hasn't been used, then the Tcl
interpreter will reset the variable to NNNNOOOONNNNEEEE after the next error.
eeeerrrrrrrroooorrrrIIIInnnnffffoooo
After an error has occurred, this string will contain one or more
lines identifying the Tcl commands and procedures that were being
executed when the most recent error occurred. Its contents take the
form of a stack trace showing the various nested Tcl commands that
had been invoked at the time of the error.
ttttccccllll____lllliiiibbbbrrrraaaarrrryyyy
When an interpreter is created, Tcl initializes this variable to |
hold the name of a directory containing the system library of Tcl |
scripts, such as those used for auto-loading. See the lllliiiibbbbrrrraaaarrrryyyy |
manual entry for details of the facilities provided by the Tcl |
script library. Normally each application will have its own |
application-specific script library in addition to the Tcl script |
library; each application should set a global variable with a name |